package com.jt.huangxiaolong.demos.mapper;

import com.jt.huangxiaolong.demos.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> allUserPage();
    List<User> select1(String dName);
    int insert(User user);
    List<User> selectByDName(String dName,String dType,String dState);
    List<User> allpage();
    int update(User user);
    int updateAll(User user);
    void deleteAll(@Param("ids") List<Integer> ids);
    String selectIsDeleteById(@Param("id") Integer id);
    int deleteByPrimaryKey(Integer id);
}
